package com.itrip.service;

import com.itrip.dto.OrderInfoDTO;
import com.itrip.dto.OrderPayDTO;
import com.itrip.vo.pay.OrderInfoVo;
import com.itrip.vo.pay.OrderPayStatusVo;

import java.util.List;

public interface OrderService {
    Integer CheckOrder(Long id);

    OrderPayDTO sendTradeNo(String tradeNo);

    Integer modifyOrderStatus(OrderPayStatusVo orderPayStatusVo);

    List<OrderInfoDTO> selectOrderInfo(OrderInfoVo orderInfoVo,int start);

    int selectCountOfOrderInfo(OrderInfoVo orderInfoVo);

    int selectOrderStatus(Long roomId);


    //查找hotelId
    Integer getHotelId(Long orderNo);

    Integer setOrderInvalidate(String orderNo);

    int deleteOrder(String orderNo);
}
